package com.nokia.pc3.core.format.input;

public class RpmDatum {
	
	private String type;
	private Object value;
	
	public static class Builder {
		
		private final String value;
		
		private String type = null;
		
		public Builder(String value) {
			this.value = value;
		}
		
		public Builder type(String type) {
			this.type = type;
			return this;
		}
		
		public RpmDatum build() {
			return new RpmDatum(this);
		}
	}
	
	private RpmDatum(Builder builder) {
		setType(builder.type);
		setValue(builder.value);
		
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Object getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}
}
